package com.lazyJr.test.DateFormat;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by liuyangfx on 16-3-16.
 */
public class DateFormatTest {
    public static void main(String[] args) {
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS+08:00");
        Date date = new Date();
        System.out.println(dateFormat.format(date));

    }
}
